package com.carlyang.studentinfo.model;

public class Class {
	private int id;
	private String className;
	private String classDesc;
	
	public Class(){
		super();
	}
	
	public Class(String className, String classDesc) {
		super();
		this.className = className;
		this.classDesc = classDesc;
	}
	
	public Class(int id, String className, String classDesc) {
		super();
		this.id = id;
		this.className = className;
		this.classDesc = classDesc;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getClassDesc() {
		return classDesc;
	}
	public void setClassDesc(String classDesc) {
		this.classDesc = classDesc;
	}
	@Override
	public String toString() {
		return "Class [id=" + id + ", className=" + className + ", classDesc=" + classDesc + "]";
	}
	
}
